#include "MainWindow.h"


MainWindow::MainWindow(void) {
	housekeepingData = new HouseKeepingDataBase();
	housekeepingGrid = new QTableView(this);
	housekeepingGrid->setSortingEnabled(false);
	housekeepingGrid->setModel(housekeepingData);
	housekeepingGrid->setEditTriggers(QAbstractItemView::NoEditTriggers);
}


/*
MainWindow::MainWindow() : wxFrame(0,wxID_ANY,wxDefaultPosition,wxSize(640,480),
									wxBORDER_SIMPLE | wxBORDER_THEME | wxNO_FULL_REPAINT_ON_RESIZE | wxCLIP_CHILDREN,
									"EGSE") {
	generalInformation = wxWindow(this,wxID_ANY,wxPoint(10,245),wxSize(620,225),
									  wxBORDER_SUNKEN,"General Information");
	housekeepingData = new HousekeepingDataBase();
	housekeepingGrid = new wxGrid(this,wxID_ANY,wxPoint(10,10),wxSize(225,460), wxWANTS_CHARS, "Housekeeping Data");
	housekeepingGrid.SetTable(housekeepingData);
}
*/
